package main

import (
	"flag"
	"http_proxy_v2/cmd"
)

var (
	mode = flag.String("m", "http", "start server [http|tcp|udp]") // 启动参数
)

func main() {
	flag.Parse()

	switch *mode {
	case "http_proxy":
		cmd.RunHTTP()
	default:
		cmd.RunHTTP()
	}

}
